from google.appengine.ext import db

class ApiKey(db.Model):
    """Models as key pair used to access out APIs"""
    api_key = db.StringProperty(multiline=False)
    secret_key = db.StringProperty(multiline=False)
    email = db.EmailProperty()
    name = db.StringProperty(multiline=False)
    enabled = db.BooleanProperty()
    date = db.DateTimeProperty(auto_now_add=True)